<?php
/**
 * Created by PhpStorm.
 * Author: 芸签cms www.yunqiancms.com
 * User: sun
 * Date: 2022/6/23
 * Time: 9:31 AM
 */
namespace app\common\routes;

class CmsRouteFactory
{
    public static function create($path)
    {
        switch ($path) {
            case 'admin/index':
                return new AdminRoute($path);

            default:
                return false;
        }

    }
}